feat(e-billing): customer attribution via buyer identifier - #1026
Merged
Conversation
jbagsik
force-pushed
the
feature/customer-attribution
branch
from
August 7, 2026 11:00
d68487e to
64fa04c
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Customerby buyer identifier (EN 16931 BT-46 /customer_number), persist that field oninvoices, and derive reporting-onlycompany_idfrom the customer's company assignment.needs_reviewand never clear attribution.attribution_sourceauto|manual), with unified company name matching inCompanyNameMatcher).Packages
moox/e-billing— matcher, corroborator, Filament actions, config, docsmoox/invoice—customer_numbercolumn / model / builder / draft / factoryTest plan
customer_idset,attribution_source=auto, clean validation path still reachablecustomer_number=needs_reviewcustomer_idnull; name fallback may setcompany_idonlyneeds_reviewonly;customer_idunchangedattribution_source=manual; auto rematch does not overwrite manuale-billing+invoiceconfig/migrations and run package testsCloses mooxphp/e-billing#23
Closes mooxphp/e-billing#24
Closes mooxphp/e-billing#25
Closes mooxphp/e-billing#27